﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mode
{
    public class ExamDataManageEx
    {
        //(单项选择题)长度(0--没题)
        public int topicLen1 { get; set; }
        //总分数
        public int topicscore1 { get; set; }
        //(多项选择题)长度(0--没题)
        public int topicLen2 { get; set; }
        //总分数
        public int topicscore2 { get; set; }
        //(判断题)长度(0--没题)
        public int topicLen3 { get; set; }
        //总分数
        public int topicscore3 { get; set; }
        //(填空择题)长度(0--没题)
        public int topicLen4 { get; set; }
        //总分数
        public int topicscore4 { get; set; }
        //(问答题题)长度(0--没题)
        public int topicLen5 { get; set; }
        //总分数
        public int topicscore5 { get; set; }
        //(打字题题)长度(0--没题)
        public int topicLen6 { get; set; }
        //总分数
        public int topicscore6 { get; set; }
        /// <summary>
        /// 公共信息
        /// </summary>
        public ExamCommInfo comminfo { get; set; }

        /// <summary>
        ///  单项选择题考题
        /// </summary>
        public List<ExmTopicEx> topic1 { get; set; }

        /// <summary>
        ///  (多项选择题)
        /// </summary>
        public List<ExmTopicEx> topic2 { get; set; }

        /// <summary>
        ///  判断题)
        /// </summary>
        public List<ExmTopicEx> topic3 { get; set; }

        /// <summary>
        ///  (填空择题
        /// </summary>
        public List<ExmTopicEx> topic4 { get; set; }

        /// <summary>
        ///  问答题题)
        /// </summary>
        public List<ExmTopicEx> topic5 { get; set; }

        /// <summary>
        ///  打字题  没有答案
        /// </summary>
        public List<ExmTopicEx> topic6 { get; set; }

    }

    /// <summary>
    /// 考题
    /// </summary>
    public class ExmTopicEx
    {
        /// <summary>
        /// 
        /// </summary>
        public int id { get; set; }
        /// <summary>
        /// 题目
        ///无论,  单选,多选,判断, 填空,问答,打字
        ///的题,都在这里录入.
        /// </summary>
        public string title { get; set; }
        /// <summary>
        /// 题目的类型
        ///单选 = 1 多选 = 2 判断 = 3 填空 = 4 问答 = 5打字 = 6
        /// </summary>
        public int type { get; set; }

        /// <summary>
        /// 每题的分数
        /// </summary>
        public int score { get; set; }

        /// <summary>
        /// 每题获得得分
        /// </summary>
        public int scoreOK { get; set; }

        /// <summary>
        /// 正确答案
        /// </summary>
        public IList<TopicAnswer> answer { get; set; }

        /// <summary>
        /// 做题答案
        /// </summary>
        public IList<TopicAnswer> answer2 { get; set; }
    }

}
